#!/bin/bash

PORT=`grep listen /var/lib/zentyal/conf/nginx.conf | sed 's/[^0-9]//g'`


if [[ $PORT == 443 ]]
then
    firefox https://localhost
else
    firefox https://localhost:$PORT
fi
